num=sample(1:50,10,replace = TRUE)
n=0
i=0
while (n<10) {n=n+1;if(num[n]<41){i=i+1}
else{i=i+0}}
  

print(i)